Skip to content

feat(docker): ship a Dockerfile Glama can build and introspect - #10

Merged
Lexus2016 merged 1 commit into
mainfrom
chore/glama-dockerfile
Nov 10, 2026
Merged

Lexus2016 merged 1 commit into
mainfrom
chore/glama-dockerfile

Conversation

@Lexus2016

Copy link
Copy Markdown
Owner

Glama builds every open-source server in its registry from a Dockerfile — the maintainer's if the repo carries one, otherwise an AI-inferred build. The inferred build for this repo does not produce a working image, so the listing currently shows no tools, cannot be deployed, and has no release. That is also what keeps the missing-glama requirement in awesome-mcp-servers from being meaningful.

What this adds

Dockerfile — python:3.13-slim, libgomp1 (onnxruntime through fastembed, pyarrow through lancedb), pip install . from the repo, memory under /data, non-root uid 1000, CMD ["turbo-memory-mcp", "serve"].

.dockerignore — keeps .git, tests, benchmarks, docs, the demo mp4 and local venvs out of the build context (2.4 MB context instead of the whole repo).

No port, no volume requirement: the server is stdio-only, an MCP client drives it. VOLUME ["/data"] only marks where the memory lives if someone wants to persist it.

Verification

No Docker daemon on this machine, so the build steps were reproduced exactly as the image runs them: the Docker context (tracked files, minus everything .dockerignore excludes, plus the two new files — 86 files, 2.4 MB) was installed into a fresh Python 3.13 venv with pip install ., and the installed entry point was driven over stdio with a real MCP initialize + tools/list exchange:

initialize after 1.0s: serverInfo={'name': 'tqmemory', 'version': '1.30.0'}
tools=29 in 1.0s

All 29 tools come back with no network access, no model download and no credentials, which is what Glama's introspection asks for. The same probe against the working tree gave the same 29 tools in 3.3 s.

CI (lint + the 3.11/3.13/windows test matrix) runs on this PR; the Dockerfile itself does not touch the package, so a green run here plus the probe above is the evidence I can produce without a Docker host.

Glama builds every server from a Dockerfile - maintainer-authored or inferred.
The inferred build did not produce a working image, so the listing shows no
tools and no deployable release. This one installs the package, keeps memory
under /data and runs the stdio server as a non-root user.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T07:42:54.219680Z a3e6600 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Lexus2016
Lexus2016 merged commit d983ff7 into main Nov 10, 2026
5 checks passed
@Lexus2016
Lexus2016 deleted the chore/glama-dockerfile branch November 10, 2026 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant